import { constantRoutes } from '@/router'
const state = {
  menusData: [...constantRoutes]
}
const mutations = {
  getMenusData(state, data) {
    state.menusData = [...constantRoutes, ...data]
  }
}
export default {
  namespaced: true,
  state,
  mutations
}
